<template>
	<view>
		<view class="box">
			<image :src="common.appUrl.oss+common.imgList.success2" mode="widthFix" class="bg-img"></image>
			<view class="title">申请审核未通过!</view>
			<view class="name">
				<view>
					{{ reason }}
				</view>
			</view>
		</view>
		<view class="goIndex" @click.stop="onResetApply">
			重新提交
		</view>
	</view>
</template>

<script>
	import {
		mapState,
	} from 'vuex';
	export default {
		computed: {
			...mapState(['common'])
		},
		data() {
			return {
				reason: "",
			}
		},
		onLoad(options) {
			if (options.hasOwnProperty("reason")) {
				this.reason = options.reason;
			}
		},
		methods: {
			onResetApply() {
				uni.navigateTo({
					url: '/pages/lc/subShop/subShop'
				})
			},
		}
	}
</script>

<style lang="scss">
	.box {
		width: 750rpx;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;

		image {
			width: 240rpx;
			height: 240rpx;
			margin-top: 140rpx;
		}

		.title {
			width: 100%;
			text-align: center;
			font-size: 36rpx;
			color: #3D3D3D;
			margin-top: 60rpx;
		}

		.name {
			width: 578rpx;
			height: 104rpx;
			font-size: 26rpx;
			color: #999999;
			margin-top: 50rpx;
			background-color: #F3F3F3;
			display: flex;
			align-items: center;
			border-radius: 20rpx;

			view {
				font-size: 30rpx;
				color: #999999;
				margin-left: 37rpx;
			}
		}
	}

	.goIndex {
		width: 690rpx;
		height: 82rpx;
		border-radius: 50rpx;
		background-color: #84BD00;
		position: fixed;
		bottom: 120rpx;
		left: 30rpx;
		color: #fff;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 30rpx;
	}
</style>